a {
  text-decoration: none;
  color: $--color-text-regular;

  &:hover {
      color: $--color-primary
  }
}

// 主要内容区
.mainWrapper {
  height: 100%;

  .main__wrap {
      overflow-x: hidden;

      &.isIE {
          .main__view {
              display: block;
          }
      }
      
      .main__view {
          min-height: 100%;
          display: flex;
          flex-direction: column;
          position: relative;

          .main_content {
              flex: 1;
              margin: 10px 10px 0;
              flex-grow: 1;

              &.isDp{
                margin: 0
              }
          }
      }
  }
}

// 表格
.borderTable{

  &::before{
    background-color: rgba(206, 206, 206, 0.3)
  }

  tr {
      &.high{
          background-color: $--table-hover
      }
  }

  &::after {
      background-color: transparent !important;
  }

  th:last-child, td:last-child{
    border-right: none
  }

  th{
    color: $--color-text-primary;
    border-bottom: none;
    
    &.is-leaf{
      border-bottom: none
    }
  }
  
  &.el-table--small{
    th {
      height: 44px;
      line-height: 44px;
      padding: 0;
    }

    td{
      padding: 7px 0;
    }
  }

  &.el-table--mini{
    .el-link--inner{
      font-size: 12px;
    }
  }

  &.el-table td{
    border-bottom: 1px solid rgba(206,206,206,0.3);
  }

  // th, td{
  //     border-right: 1px solid $--border-color-light;
  //     border-bottom: 1px solid #cecece4d;

  //     &:last-child{
  //         border-right: none;
  //         border-bottom: none;
  //     }
  // }
}


.el-scrollbar {
  .scrollbar__wrap{
    overflow-x: hidden;
  
  }
  .el-scrollbar__wrap{
    overflow-x: hidden;
  }
  
  .scrollbar__view{
    height: 100%;
  }

}

.el-table--small {
  font-size: 14px;
}

.el-loading-spinner{

  .path{
      stroke-width: 4;
      stroke: #75a4da
  }

  i {
      display: block;
      margin: 0 auto;
      font-size: 40px;
      line-height: 1;
      background: linear-gradient(to bottom, #9FC0E4, #1d60ab);
      -webkit-background-clip: text;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      color: transparent;
      font-weight: bolder;
      animation:antRotate 1s infinite linear
  }

  &::after{
      content: '';
      position: absolute;
      border: 4px solid $--color-primary;
      // border: 4px solid $--border-color-light;
      border-radius: 50%;
      height: 26px;
      width: 26px;
      top: 3px;
      left: 50%;
      transform: translateX(-50%);
      z-index: -1;
  }
  
  .el-loading-text{
      color: $--color-text-regular
  }
}

@keyframes antRotate{
  to{
      -webkit-transform:rotate(360deg);
      transform:rotate(360deg)
  }
}
@-webkit-keyframes antRotate{
  to{
      -webkit-transform:rotate(360deg);
      transform:rotate(360deg)
  }
}

// .loading-dot{
//     animation:antRotate 1.2s infinite linear;
//     transform:rotate(45deg)}
//     .loading-dot i{transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}
// 分页
.el-pagination{
  padding: 10px 0;

  &.is-background {
    .el-pager{
      li {
        background: transparent;
        margin: 0 3px;
        min-width: 20px;
        font-weight: normal;
        padding: 0 6px;
        line-height: 18px;
        text-align: center;
        border: 1px solid transparent;

        &.active{
          line-height: 20px;
          border: none
        }
        
        &:hover {
          color: $--color-primary;
          background: transparent;
          // border: 1px solid $--color-primary;
        }

        &.btn-quicknext{
          line-height: 20px;

          .more::before {
            line-height: 20px;
          }
        }
      }
      .more::before {
        line-height:20px;
      }
    }
  
    .btn-prev, .btn-next{
      width: 20px;
      min-width: 20px;
      color: $--color-text-regular;
      border: 1px solid $--border-color-light;
      background-color: transparent;

      &:not([disabled]):hover{
        color: $--color-primary;
        border-color: $--color-primary
      }
    }

    .el-pagination__sizes{
      margin-left: 10px;
      margin-right: 0;
      font-size: 13px;

      .el-input{
        width: 85px
      }
      .el-input__inner{
        height: 20px;
        line-height: 20px;

        .el-input__icon{
          line-height: 20px;
        }
      }
    }
    

    .el-pagination__jump{
      margin-left: 15px;

      .el-pagination__editor{
        width: 52px;
        padding: 0 6px;
        height: 20px;
        line-height: 20px;

      }
    }

  }

}

.el-divider{
  background-color: #F0F0F0;

  &.el-divider--horizontal{
    margin: 12px 0
  }
}

.tableWrapper{
  .el-button:not(.is-circle) {
      min-width: auto;
      
      &.el-button--small{
          min-width: auto;
      }
      
      &.el-button--mini {
          padding: 5px 8px;
          min-width: auto;
      }
  }
}
// 按钮
.el-button:not(.is-circle) {
  min-width: 80px;

  &.el-button--small{
      min-width: 64px;
  }

  &.el-button--mini {
      min-width: 56px;
  }
}

// 输入框
.el-form-item {
  &.is-success {
      input {
          border-color: $--color-success
      }

      .el-input__validateIcon {color: $--color-success}
  }

  .el-form-item__content{
     > div{ text-align: left}
  }

  .el-form-item__label{
      padding-right: 4px;
      color: $--color-text-primary
  }

  
}
.el-input__inner, .el-textarea__inner{
  border-color: $--border-color-light;

  &:focus {
    border-color: $--color-primary
  }
}

.el-form-item--small{
  &.el-form-item {
    margin-bottom: 16px;
  }
}

// 选择框
.el-select {
  .el-tag{
      background-color: #ecf5ff;
      color: $--color-primary;

      i.el-tag__close{
          color: #fff
      }
  }
}

// 选择框悬浮状态
.el-radio, .el-checkbox, .el-radio-group , .el-checkbox-group{
  &:hover {
      color: $--color-primary
  }

  .el-radio__label, .el-checkbox__label {
      color: $--color-text-primary
  }
}

// 穿梭框
.el-transfer{
  .el-transfer-panel__item.el-checkbox {
      color: $--color-text-primary;
      display: block
  }

  .el-transfer__buttons{
      button{
          display: block;
          margin: 0;
          width: 36px;
          height: 36px;
          border-radius: 50%;
          min-width: auto;
          text-align: center;
          padding: 0;
          
          &:first-child{
              margin-bottom:10px
          }

          &.is-disabled{
              background: #F5F7FA
          }
      }
  }
}

// messageBox
.el-message-box--center {
  padding-bottom: 10px;

  .el-message-box__header {
      padding: 30px 24px 10px;
  }
  
  .el-message-box__title {
      justify-content: initial;
  }

  .el-message-box__content {
      text-align: left;
      padding-left: 54px;
      padding-right: 24px
  }

  .el-message-box__btns {
      text-align: right;
      padding: 10px 24px
  }
}

.v-modal{
  opacity: 0.2;
}

// 弹出框
.el-dialog{
  &.el-dialog--center {
      text-align: initial
  }

  .el-dialog__header {
      border-bottom: 1px solid $--border-color-light;
      padding-bottom: 16px;
      
      .el-dialog__title{
          font-size: 16px;
          line-height: 1;
          display: block;
          position: relative;
          padding-left: 10px;

          &::before{
              content: '';
              display: block;
              position: absolute;
              width: 6px;
              top: 0;
              left: 0;
              height: 16px;
              background: $--color-primary;
          }
      }
  }

  .el-dialog__body {padding: 24px}

  .el-dialog__footer{
      // padding-top:24px;
      // border-top: 1px solid #e8e8e8;
      text-align: right
  }
}

.el-card{
  border: none;

  .el-card__body {
      padding: 10px
  }

}

//   图片预览
.el-image-viewer__close{
  i.el-icon-circle-close{
      color: #fff
  }
}

.el-popconfirm{
  p.el-popconfirm__main{
      margin: 14px 0
  }
}

.image-error {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #f5f7fa;
  color: #909399;
  font-size: 14px;
  font-size: 30px;
}

.tableWrapper{
  a + a{
      margin-left: 10px
  }
}

// 标签
.el-tabs {
  .el-tabs__item{
      height: 48px;
      line-height: 48px;
      padding: 0 24px;
      box-shadow: none !important;

      &.is-active{
        font-weight: bold;
      }
  }

  .el-tabs__nav-wrap{
      &::after{
          background: #E4E7ED !important;
      }
  }
}


  
/*
*改变浏览器默认的滚动条样式
*/
::-webkit-scrollbar-track-piece {
  background-color:#f8f8f8;
}
::-webkit-scrollbar {
  width:8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background-color:#cecece;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background-color:#b6b7b9;
}
